﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;

namespace GestaoContas
{
    public partial class SmtpAuth : Form
    {
        public SmtpAuth(string smtp)
        {
            InitializeComponent();
            textBoxSmtp.Text = smtp;
        }

        private string _userName;

        public string UserName
        {
            get { return _userName; }
            set { _userName = value; }
        }

        private string _password;

        public string Password
        {
            get { return _password; }
            set { _password = value; }
        }

        private void buttonOK_Click(object sender, EventArgs e)
        {
            UserName = textBoxUser.Text;
            Password = maskedTextBoxPass.Text;
        }

    }
}
